﻿//----------------------------------------------------------------------------------------------------
// A Player contains information on a player
//----------------------------------------------------------------------------------------------------

package HG.GameDataTypes
{
	public class Player
	{
		var m_playerID:Number;
		var m_playerType:Number;
		var m_rootNode:Number;
		
		//----------------------------------------------------------------------------------------------------
		public function Player(ID:Number)
		{
			m_playerID = ID;
		}
		
		
		//----------------------------------------------------------------------------------------------------
		public function SetRootNode(nodeID:Number)
		{
			m_rootNode = nodeID;
		}
		
		//----------------------------------------------------------------------------------------------------
		public function GetRootNode():Number
		{
			return m_rootNode;
		}
		
		
		//----------------------------------------------------------------------------------------------------
		public function SetType(type:Number)
		{
			m_playerType = type;
		}
		
		//----------------------------------------------------------------------------------------------------
		public function GetType()
		{
			return m_playerType;
		}
		
		//----------------------------------------------------------------------------------------------------
	}
}